#ifndef _BSP_AD7175_H
#define _BSP_AD7175_H

#include "bsp_ad717x.h"

enum adcCH{
	CH0_AIN0P1N,
	CH1_AIN2P3N,
};


void bsp_InitAD7175(void);
uint32_t AD7175_ReadID(void);
uint32_t AD7175_ReadReg(uint8_t Radd);
uint8_t AD7175_Speed_Set(uint8_t ch,uint8_t speed_type);
uint8_t AD7175_Single_Read(uint8_t ch,float *vol_data,uint32_t timeout);
float *AD7175_Continue_Read(uint8_t ch,uint32_t len,uint32_t timeout);
void AD7175_Channel_Select(uint8_t ch);
#endif
